package com.ruoyi.fullminusgiveaway.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 满减满送活动对象 full_minus_giveaway
 *
 * @author ruoyi
 * @date 2024-11-14
 */
public class FullMinusGiveaway extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动id */
    private Long id;

    /** 满j减商品id(不能与满送商品id一致) */
    @Excel(name = "满j减商品id(不能与满送商品id一致)")
    private Long giveawayGoodsId;

    /** 满送商品id(不能与满减商品id一致) */
    @Excel(name = "满送商品id(不能与满减商品id一致)")
    private Long minusGoodsId;

    /** 满减的金额 */
    @Excel(name = "满减的金额")
    private BigDecimal reduceMoney;

    /** 满送的金额 */
    @Excel(name = "满送的金额")
    private BigDecimal money;

    /** 满送的商品id */
    @Excel(name = "满送的商品id")
    private Long couponId;

    /** 商家id */
    @Excel(name = "商家id")
    private Long businessId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long shopId;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGiveawayGoodsId(Long giveawayGoodsId)
    {
        this.giveawayGoodsId = giveawayGoodsId;
    }

    public Long getGiveawayGoodsId()
    {
        return giveawayGoodsId;
    }
    public void setMinusGoodsId(Long minusGoodsId)
    {
        this.minusGoodsId = minusGoodsId;
    }

    public Long getMinusGoodsId()
    {
        return minusGoodsId;
    }
    public void setReduceMoney(BigDecimal reduceMoney)
    {
        this.reduceMoney = reduceMoney;
    }

    public BigDecimal getReduceMoney()
    {
        return reduceMoney;
    }
    public void setMoney(BigDecimal money)
    {
        this.money = money;
    }

    public BigDecimal getMoney()
    {
        return money;
    }
    public void setCouponId(Long couponId)
    {
        this.couponId = couponId;
    }

    public Long getCouponId()
    {
        return couponId;
    }
    public void setBusinessId(Long businessId)
    {
        this.businessId = businessId;
    }

    public Long getBusinessId()
    {
        return businessId;
    }
    public void setShopId(Long shopId)
    {
        this.shopId = shopId;
    }

    public Long getShopId()
    {
        return shopId;
    }

    @Override
    public String toString() {
        return "FullMinusGiveaway{" +
                "id=" + id +
                ", giveawayGoodsId=" + giveawayGoodsId +
                ", minusGoodsId=" + minusGoodsId +
                ", reduceMoney=" + reduceMoney +
                ", money=" + money +
                ", couponId=" + couponId +
                ", businessId=" + businessId +
                ", shopId=" + shopId +
                '}';
    }
}
